package distribuicao;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.Map;

public interface Servico extends Remote


{
	
	
	
	public void salvar (Object obj) throws RemoteException ;
	public void editar (Object obj) throws RemoteException;
	public void excluir(Object obj,Long id) throws RemoteException ;
	public Object buscar(Object obj,Long id) throws RemoteException;
	public Object buscaPorCoringa(Object obj,String coringa) throws RemoteException;
	public Object buscaPorCoringa(Class clazz, String coringa) throws RemoteException;


}
